<?php echo $this->load->view('meta');?>
<link rel="stylesheet" href="<?=base_url();?>css/static.css" />
<title>Contact Us :: Chi Alpha at NCSU and Meredith</title>
<?php echo $this->load->view('header'); ?>
<?=$this->validation->error_string;?>
<h2><?php echo $drawingHeader ?></h2>
<div id="content">

<?php if(isset($drawing_report)) : ?>
<p class="right">
	<?php echo anchor('drawing/report', 'report'); ?>
</p>
<?php endif ?>

<?php echo form_open('drawing/index'); ?>
<fieldset>
	<legend>entry form</legend>
	<fieldset class="sidebyside">
		<legend>required</legend>
		<ol class="twofifty">
			<li><label for="name">name</label>
				<input type="input" name="name" value="<?php echo $this->validation->name;?>" size="46" /></li>
			<li><label for="email">email</label>
				<input type="input" name="email" value="<?php echo $this->validation->email;?>" size="46" /></li>
			<li><label for="token">token</label>
				<input typee="input" name="token" value="<?php echo $this->validation->token;?>" size="6" maxlength="6" /></li>
			<li><label for="class">class</label>
				<input type="radio" name="class" value="Fr" <?php echo $this->validation->set_radio('class', 'Fr'); ?> />Fr
				<input type="radio" name="class" value="So" <?php echo $this->validation->set_radio('class', 'So'); ?> />So
				<input type="radio" name="class" value="Jr" <?php echo $this->validation->set_radio('class', 'Jr'); ?> />Jr
				<input type="radio" name="class" value="Sr" <?php echo $this->validation->set_radio('class', 'Sr'); ?>/>Sr
			</li>
		</ol>
	</fieldset>
	<fieldset class="sidebyside">
		<legend>optional</legend>
		<ol class="twofifty">
			<li><label for="phone">phone</label>
				<input type="input" name="phone" value="<?php echo $this->validation->phone;?>" size="10" maxlength="10" /></li>
			<li><label for="dorm">dorm</label>
				<input type="input" name="dorm" value="<?php echo $this->validation->dorm;?>" size="46" /></li>
			<li><label for="contact">contact</label>
				<input type="checkbox" name="contact[]" value="lifegroups" <?php echo $this->validation->set_checkbox('contact', 'lifegroups'); ?> />
					Know more about your Lifegroups (small groups).<br />
				<input type="checkbox" name="contact[]" value="pastor" <?php echo $this->validation->set_checkbox('contact', 'pastor'); ?> />
					Talk with your campus pastor.<br />
				<input type="checkbox" name="contact[]" value="christian" <?php echo $this->validation->set_checkbox('contact', 'christian'); ?> />
					Get some help with this whole Christian thing.<br />
				<input type="checkbox" name="contact[]" value="church" <?php echo $this->validation->set_checkbox('contact', 'church'); ?> />
					Get some help finding a local church.<br />
			</li>
		</ol>
	</fieldset>
	<br />
	<?php echo form_submit('','submit');?>
</fieldset>
</form>
</div>
<?php echo $this->load->view('footer');?>